package com.cdgc.web.service;

import com.cdgc.web.pojo.UserTable;
import com.cdgc.web.pojo.Userdata;

import java.security.PublicKey;
import java.util.List;

public interface UserService {

    public Userdata doLogin(String username, String password);

    public List<UserTable> queryUsers();

    public void addUser(UserTable userTable);

    public UserTable queryUserById(Integer id);

    public void updateUser(UserTable userTable);

    public void deleteUserById(Integer id);
}
